var dataTest = []
for(var i=0;i<100;i++){
    var x = Math.floor(100*Math.random());
    var y = Math.floor(100*Math.random());
    dataTest.push([x,y]);
};

var myChart1 = echarts.init(document.getElementById("idx1"),'dark')
var option1 = {
    xAxis: {},
    yAxis: {},
    title: {
        text: '石子落地位置--zzf',
        left: 'center',
    },
    series:{
        type:'scatter',
        data:dataTest,
        symbolSize: 5, 
    },
};
myChart1.setOption(option1);
//-----------------------------------------------------------------
var dataTest = []
for(var i=0;i<100;i++){
    var x = Math.floor(100*Math.random());
    var y = Math.floor(100*Math.random());
    dataTest.push([x,y]);
};

var myChart2 = echarts.init(document.getElementById("idx2"))
var option2 = {
    xAxis: {},
    yAxis: {},
    title: {
        text: '石子落地位置--zzf',
        left: 'center',
    },
    series:{
        type:'scatter',
        data:dataTest,
        symbolSize: 5, 
    },
};
myChart2.setOption(option2);